package org.bai.meetingfilm.backend.eureka;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

@EnableEurekaServer
@SpringBootApplication
public class BackendEurekaServerApplication {

    private static final Logger LOGGER = LoggerFactory.getLogger(BackendEurekaServerApplication.class);

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(BackendEurekaServerApplication.class);
        application.setWebApplicationType(WebApplicationType.SERVLET);
        application.run(args);
        LOGGER.info("eureka start success");
    }
}
